<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="common_css :: commonHeader('核算方案管理')"></head>
<body>
<!--搜索框-->
<form method="post" id="tabfrom">
    <div style="padding:2px" class="easyui-panel" title="数据查询">
        <table class="form-table">
            <td align="right" width="10%">方法描述：</td>
            <td align="left">
                <input id="selName" style="width:150px" class="easyui-validatebox"/>
                <a class="easyui-linkbutton" iconCls='icon-search' onclick="doSearch();">查询</a>
            </td>
        </table>
    </div>
    <br>
</form>
<div id="toolbar">
    <shiro:hasPermission name="finance:subject:project:add">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-add"
           onclick="addSubjectProject()">添加</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="finance:subject:project:edit">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-edit"
           onclick="editSubjectProject()">修改</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="finance:subject:project:del">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-cancel"
           onclick="delSubjectProject()">删除</a>
    </shiro:hasPermission>
</div>

<div id="dg"></div>


<div id="dlg" class="easyui-dialog" style="width:650px;height:310px"
     closed="true" modal="true" maximizable="true" resizable="true">
    <form id="myform" method="post">
        <div style="padding:20px">
            <table cellpadding="2px" cellspacing="0" class="form-table">
                <tr>
                    <td align="right">方案名称：</td>
                    <td><input class="easyui-validatebox" name="name"/></td>
                    <input type="hidden" name="id"/>
                </tr>
                <tr>
                    <td align="right">方案描述：</td>
                    <td colspan="3">
                        <input class="easyui-textbox" name="description"
                               data-options="multiline:true" style="height:80px;width:350px"/>
                    </td>
                </tr>
            </table>
        </div>

    </form>
</div>

<div th:include="common_js :: commJS"></div>
<script type="text/javascript"
        th:src="@{/js/finance/subjectProject.js}"></script>
</body>
</html>
